#!/bin/bash
# 用于在编译thmar依赖库,安装到指定目录
# author guyadong
# date 2024/08/28

sh_folder=$(cd "$(dirname $0)"; pwd -P)

[ ! $(gcc -dumpmachine) ] \
    && echo "not install compiler gcc,install please" \
    && exit 255

machine=$(g++ -dumpmachine)

PROJECT_FOLDER=$sh_folder/build/$machine \
$sh_folder/gnu_build.sh